package dao;

import com.google.inject.ImplementedBy;
import models.Statistics_F_Entity;
import services.Statistics_Repository_JPA;

import java.util.List;
import java.util.concurrent.CompletionStage;
@ImplementedBy(Statistics_Repository_JPA.class)
public interface Statistics_Repository {
    CompletionStage<List<Statistics_F_Entity>> listByProduct(String startTime, String endTime);
    CompletionStage<List<Statistics_F_Entity>> listByProductCompany(String startTime,String endTime,String productName);
    CompletionStage<List<Statistics_F_Entity>> BDlistByCompany(String startTime,String endTime,String productName,String companyName);
}
